package cn.iocoder.yudao.module.mini.convert.technician;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.mini.controller.admin.technician.vo.*;
import cn.iocoder.yudao.module.mini.dal.dataobject.technician.TechnicianDO;

/**
 * 技师 Convert
 *
 * @author dzy
 */
@Mapper
public interface TechnicianConvert {

    TechnicianConvert INSTANCE = Mappers.getMapper(TechnicianConvert.class);

    TechnicianDO convert(TechnicianCreateReqVO bean);

    TechnicianDO convert(TechnicianUpdateReqVO bean);

    TechnicianRespVO convert(TechnicianDO bean);

    List<TechnicianRespVO> convertList(List<TechnicianDO> list);

    PageResult<TechnicianRespVO> convertPage(PageResult<TechnicianDO> page);

    List<TechnicianExcelVO> convertList02(List<TechnicianDO> list);

}
